package com.xjgzinfo.usdp.service.mapper;


import com.xjgzinfo.usdp.domain.BladeVisualConfig;
import com.xjgzinfo.usdp.service.dto.BladeVisualConfigDTO;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity {@link BladeVisualConfig} and its DTO {@link BladeVisualConfigDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface BladeVisualConfigMapper extends EntityMapper<BladeVisualConfigDTO, BladeVisualConfig> {


    default BladeVisualConfig fromId(Long id) {
        if (id == null) {
            return null;
        }
        BladeVisualConfig bladeVisualConfig = new BladeVisualConfig();
        bladeVisualConfig.setId(id);
        return bladeVisualConfig;
    }
}
